package se.combitech;

import java.io.File;
import java.util.List;

import javax.enterprise.event.Observes;
import javax.inject.Inject;
import javax.inject.Singleton;

import org.jboss.weld.environment.se.bindings.Parameters;
import org.jboss.weld.environment.se.events.ContainerInitialized;

@Singleton
public class Main {
	
	@Inject
	Reader reader;

	public void main(@Observes ContainerInitialized event, @Parameters List<String> parameters) {
		reader.readFile(new File("c:/opt/qwerty.txt"));
	}
}
